package com.dhf.framework.common;

import java.util.List;
import java.util.Map;

import com.dhf.framework.base.mybatis.core.page.Pagination;

public class Params {
	
	/**查询的表名*/
	private String tableName;
	
	/**查询的表字段名*/
	private List<String> tableFieldNames;
	
	/**表字段值集参数*/
	private Map<String, Object> map;
	
	/**翻页信息**/
	private Pagination<Map<String, Object>> pagination;
	
	/**页数**/
	private int page;
	
	/**总页数**/
	private int pageSize;
	
	/**主键ID*/
	private String id;
	
	/**查询的列*/
	private String[] columns;
	
	/**查询的条件*/
	private String whereSql;
	
	/**查询参数拼接*/
	private List<ParamCondition> paramList;
	
	/**起始位置*/
	private Integer start;
	
	/**结束位置*/
	private Integer end;
	
	/**排序字段*/
	private String sortColumn;
	
	/**升序或倒序*/
	private String sort;
	
	/**批量添加参数*/
	private List<Map<String, Object>> bacthInsertMap;
	
	/**删除字段集合*/
	private List<?> deleteList;
	
	/** 删除的字段名 */
	private String deleteCoulumnName;

	/** Get、Set方法 */
	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public List<String> getTableFieldNames() {
		return tableFieldNames;
	}

	public void setTableFieldNames(List<String> tableFieldNames) {
		this.tableFieldNames = tableFieldNames;
	}

	public Map<String, Object> getMap() {
		return map;
	}

	public void setMap(Map<String, Object> map) {
		this.map = map;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String[] getColumns() {
		return columns;
	}

	public void setColumns(String[] columns) {
		this.columns = columns;
	}

	public String getWhereSql() {
		return whereSql;
	}

	public void setWhereSql(String whereSql) {
		this.whereSql = whereSql;
	}

	public List<ParamCondition> getParamList() {
		return paramList;
	}

	public void setParamList(List<ParamCondition> paramList) {
		this.paramList = paramList;
	}

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getEnd() {
		return end;
	}

	public void setEnd(Integer end) {
		this.end = end;
	}

	public String getSortColumn() {
		return sortColumn;
	}

	public void setSortColumn(String sortColumn) {
		this.sortColumn = sortColumn;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public List<Map<String, Object>> getBacthInsertMap() {
		return bacthInsertMap;
	}

	public void setBacthInsertMap(List<Map<String, Object>> bacthInsertMap) {
		this.bacthInsertMap = bacthInsertMap;
	}

	public List<?> getDeleteList() {
		return deleteList;
	}

	public void setDeleteList(List<?> deleteList) {
		this.deleteList = deleteList;
	}

	public String getDeleteCoulumnName() {
		return deleteCoulumnName;
	}

	public void setDeleteCoulumnName(String deleteCoulumnName) {
		this.deleteCoulumnName = deleteCoulumnName;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public Pagination<Map<String, Object>> getPagination() {
		return pagination;
	}

	public void setPagination(Pagination<Map<String, Object>> pagination) {
		this.pagination = pagination;
	}

}
